<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8" />
</head>
<body>
<div th:fragment="searchBlock" >
    <div class="module-block">
        <div class="row-fluid" id="formSearch1">
            <div class="span6" >
                <div class="form-inline padding15" role="form">
                    <div class="form-group">
                        <label class="form-label">小区名称：</label>
                        <select th:field="*{estateSfGuid}"  class="form-control">
                            <option value="">请选择</option>
                            <option th:each="estate:${formBean.estateList}"
                                    th:value="${estate.sfGuid}"
                                    th:text="${estate.estateName}"
                                    th:selected="${estate.sfGuid} == ${formBean.estateSfGuid}? 'selected' : '#'"></option>
                        </select>
                    </div>
                    <div class="form-group">
                        <label class="form-label">业务类型：</label>
                        <select th:field="*{businessType}"  class="form-control">
                            <option value="">请选择</option>
                            <option th:each="sCodeName:${formBean.businessTypeList}"
                                    th:value="${sCodeName.code}"
                                    th:text="${sCodeName.codeName}"
                                    th:selected="${sCodeName.code} == ${formBean.businessType}? 'selected' : '#'"></option>
                        </select>
                    </div>
                    <div class="form-group">
                        <label class="form-label">发票种类：</label>
                        <select th:field="*{invoiceTypeCode}"  class="form-control">
                            <option value="">请选择</option>
                            <option th:each="sCodeName:${formBean.invoiceKindList}"
                                    th:value="${sCodeName.code}"
                                    th:text="${sCodeName.codeName}"
                                    th:selected="${sCodeName.code} == ${formBean.invoiceTypeCode}? 'selected' : '#'"></option>
                        </select>
                    </div>
                    <div class="form-group">
                        <label class="form-label">开票状态：</label>
                        <select th:field="*{invoiceStatus}"  class="form-control">
                            <option value="">请选择</option>
                            <option th:each="sCodeName:${formBean.invoiceStatusList}"
                                    th:value="${sCodeName.code}"
                                    th:text="${sCodeName.codeName}"
                                    th:selected="${sCodeName.code} == ${formBean.invoiceStatus}? 'selected' : '#'"></option>
                        </select>
                    </div>
                    <div class="form-group">
                        <label class="form-label">发票号：</label>
                        <input type="text"  th:field="*{invoiceNo}"  class="form-control searchCondition" placeholder="模糊查询" />
                    </div>
                    <div class="form-group">
                        <label class="form-label">是否红冲：</label>
                        <input type="radio"  th:field="*{redFlg}"  value="1" />无红冲
                        <input type="radio"  th:field="*{redFlg}"  value="0" />有红冲
                    </div>
                    <div class="form-group">
                        <label class="form-label">是否作废：</label>
                        <input type="radio"  th:field="*{invlidFlg}"  value="0" />未作废
                        <input type="radio"  th:field="*{invlidFlg}"  value="1" />已作废
                    </div>
                    <div class="form-group">
                        <label class="form-label">是否打印：</label>
                        <input type="radio"  th:field="*{invoicePrintFlg}"  value="0" />未打印
                        <input type="radio"  th:field="*{invoicePrintFlg}"  value="1" />已打印
                    </div>

                   <!-- <div class="form-group">
                        <label class="form-label">开票时间(开始)</label>
                        <input type="text" th:field="*{selStartTime}"  class="form-control searchCondition selectDate selectDateYymmdd" />

                    </div>
                    <div class="form-group">
                        <label class="form-label">开票时间(结束)</label>
                        <input type="text"  th:field="*{selEndTime}"  class="form-control searchCondition selectDate selectDateYymmdd" />
                    </div>-->


                </div>
            </div>
        </div>

        <div class="row-fluid">
            <div class="span5" id="table-btnGrounb">
                <button class="table-btn" id="searchbutton" type="submit">查找</button>
            </div>
        </div>
    </div>
</div>

</body>
</html>